package com.zg.datapush.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 表结构查询请求
 * @author zg
 */
@Data
@ApiModel(value = "表结构查询请求", description = "表结构查询请求")
public class TableStructureReq {
    
    @NotBlank(message = "数据源编码不能为空")
    @ApiModelProperty(value = "数据源编码", required = true)
    private String datasourceCode;
    
    @ApiModelProperty(value = "表名")
    private String tableName;
}
